package com.lb.shopguide.ui.fragment.guide;

import android.view.View;
import android.widget.TextView;

import com.blankj.utilcode.util.DeviceUtils;
import com.lb.shopguide.R;
import com.lb.shopguide.base.BaseCommonFragment;
import com.lb.shopguide.base.BaseFragment;
import com.lb.shopguide.ui.view.NormalTitleBar;

import butterknife.BindView;

public class FragmentDebug extends BaseCommonFragment {
    @BindView(R.id.ntb)
    NormalTitleBar ntb;
    @BindView(R.id.tv_deviceId)
    TextView tvDeviceId;

    public static FragmentDebug newInstance() {
        return new FragmentDebug();
    }
    @Override
    public int getLayoutId() {
        return R.layout.fragment_debug;
    }

    @Override
    public void initData() {

    }

    @Override
    public void initView() {
        ntb.setTitleText("开发工具");
        ntb.setLeftImageSrc(R.drawable.iv_back);
        ntb.setOnLeftImageListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                pop();
            }
        });
        tvDeviceId.setText(DeviceUtils.getAndroidID());
    }

    @Override
    public void finishRefresh() {

    }

    @Override
    public void sessionOutOfDate() {

    }

    @Override
    public void requestError(String error) {

    }

    @Override
    public String getPageTag() {
        return null;
    }
}
